﻿// Apache-2.0 License
// Copyright (c) 2021-2022 SuperJeff
// 微信:15906588664  QQ:1024489

using Admin.NET.Core;
using Admin.Net.InformationPlatform.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Service.SRM.Dto
{
    public class SrmPurchaseInput : BasePageInput
    {
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 品号
        /// </summary>
        public string ProductNo { get; set; } = string.Empty;
        /// <summary>
        /// 品名        
        /// </summary>
        public string ProductName { get; set; } = string.Empty;
        /// <summary>
        /// 规格
        /// </summary>
        public string ProductSpecifications { get; set; } = string.Empty;
    }
    /// <summary>
    /// 提交采购需求状态
    /// </summary>
    public class SubmitPurchaseZT
    {
        /// <summary>
        /// 采购需求ID
        /// </summary>
        public string SRMCG_LISTID { get; set; }
        /// <summary>
        /// 需求状态 0竞价中 1竞价结束
        /// </summary>
        public int SRMZT { get; set; }
    }
    /// <summary>
    /// 采购需求删除
    /// </summary>
    public class DeletePurchase
    {
        /// <summary>
        /// 采购需求ID
        /// </summary>
        public string SRMCG_LISTID { get; set; }


    }
    public class SrmPurchase
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string SRMCGID { get; set; }
        /// <summary>
        /// 采购员ID
        /// </summary>
        public string SRMCGRID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? SRMCREATE { get; set; }
        /// <summary>
        /// 伪删除
        /// </summary>
        public int SRMISDELETE { get; set; }
        /// <summary>
        /// 采购详情
        /// </summary>
        public SRMCG_LIST[] srmcglist { get; set; }
    }
}